package com.wyf.android.advance

import android.app.Activity
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity

open class BaseActivity : AppCompatActivity() {

}

fun Activity.startActivityByClazz(clazz: Class<*>?) {
    if (clazz == null) return
    startActivity(Intent(this, clazz))
}